Skip to content
This repository was archived by the owner on Oct 28, 2025. It is now read-only.

Conversation

@sappenin
Copy link
Collaborator

High Level Overview of Change

Remove unused sfield.rs

Type of Change

  • Refactor (non-breaking change that only restructures code)

@sappenin sappenin self-assigned this Sep 30, 2025
@mvadari
Copy link
Collaborator

mvadari commented Sep 30, 2025

Where do we get SFields from if not there?

@sappenin
Copy link
Collaborator Author

sappenin commented Sep 30, 2025

Where do we get SFields from if not there?

They're defined in the xrpl-std-lib for all WASM usage here. The wasm-host-simulator has a dependency on that (i.e., on xrpl-std-lib), and if anything in the simulator needs sfields, it can source them from there.

Of course, this does create a dependency which maybe we shouldn't have (this PR doesn't introduce this dependency, FWIW). I'd be open to that argument if you or @pwang200 think we should have duplicate files that have the same sfield declarations?

@sappenin sappenin enabled auto-merge (squash) October 6, 2025 21:52
@sappenin sappenin merged commit 95a15d8 into main Oct 6, 2025
9 checks passed
@sappenin sappenin deleted the df/fixes-159-remove-duplicate-sfield branch October 6, 2025 21:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants